added more pi calcs and changed menu code