How to find the mass of a rock