A mortgage calculator class for PHP 5