Formatting the data to have accurate calculations, and finding that I am getting the first result right and the rest of the results which are close but not there