Calculating volume and weight from dimensions