Square Based Pyramid Calculator