Using WordPress PHP Code Styling in Calc Fields File

Adding [WordPress PHP Code Styling best practices](http://make.wordpress.org/core/handbook/coding-standards/php/) to the calc fields file. Also there were a few [PHP doc blocks](http://en.wikipedia.org/wiki/PHPDoc) that weren't formatted correctly.