Developing Pr function
Renamed parameters, variables etc. to make code more human readable
Merged branch into master branch