Added two more methods of calculating pi.