fix logic for deciding whether to use C in actionAngleStaeckel
better logic of whether to use C in actionAngleStaeckel