Changed calibration routine offset from + to -, made unit conversion function more clear, added mm to in functiion.