fixed things
created/used Gammas and Lambdas functions
removed unnecessary parameters