trying to fix iv calcs

ivcalcs are 1 off and i still don't know if the hp one works