How to change the order of a triple integral