Volume calculation and determination of angles