Eased the ratiocalculations
Merge branch 'updateratiofunction' into Develop