Don't use M_PI
Add newlines in documentation