Update cubelets.py

Added check for position angle before pv diagram is created. If the parametrisation is switched off, the pa is not calculated and an error occurred when trying to generate the pv diagram.