added proportion and factorial along with exponent bug fixes