Personal Function update

3 parameters, return used and assigned, math used