Added a function to convert the pulse to ms. Also, changed height to a long.