Made variables floats instead of ints