Added some output stuff in views/Output.php
Added some math functions to output.