Volume of a square pyramid