Added factorial method and removed iFact and iSubfact
Added factorial method