Added comments to update_tau
Wrote testing functions in class