added some fastsqrt functions and M_SQRT2 constant