Fixed multiply, double, and filp functions to properly alter the deltaH value