Implementation of several Budget functions

Implemented some of the timing/cycle functions. Javadocs are also included.

Bear in mind, the only testing I've done of these features is by hand with a main method, so JUnit tests still need to be done.