Converting IR value to distance

Are you absolutely sure that your 5V supply is 5V. You are using that 0.0049 conversion factor assuming it is exactly 5V (5/1024 = 0.0049). I have had this problem before and when I fixed the power it was all working fine - to the spec in the datasheet.