Now handles floats for data points instead of ints