add some comments and rename some functions
Merge branch 'master' of https://github.com/IlyaSmirnov/qreal