changed ints to floats

forgot how integer division worked in python 2 and got an int when I
wanted a float