changed all unnecessary 0.0 to 0 and 1.0 to 1