new_beta_function

Wrote a new class for beta function. Till now only fdiff has been defined. Also wrote some tests for this class.