Square Pyramid Calculator