Code for a fast invert square root. Copied from http://h14s.p5r.org/2012/09/0x5f3759df.html