FYI. Its currentlyu set at 10x speed, so running it for 6 seconds is the same as 1 minute of real time. Otherwise to simulate a 40 minute dive it'd take 40 minutes, which would be a little boring.
I'll add a display area soon which will show what a simple dive computer would actually display.
For details on the algorithm, in a nice, not too mathematical way see:
www.vvw.be/duiken/zhl16.doc