Beta + Gamma

These should be correct implementations of beta and gamma. Am getting some weird numbers though.