Adding floating point operators and improving code