Implementation of PVDCalc on iOS