changed precision to 7 decimal places. Added float32 support
added almostEqual test cases for 7 decimal places and float32