Yes sorry I have program to do the calculation in production. Correcting the bug is left as an exercise for the reader. Regards Baldur Den 12/01/2016 16.33 skrev "Bj?rn Mork" <bjorn at mork.no>: > Baldur Norddahl <baldur.norddahl at gmail.com> writes: > > > Note that 12 is "0b" in hexadecimal. > > Only when gravity is negative IIRC. > > > Bj?rn >