found out that occam crashes when phase angles are >180. Fixed Data class so that phase is always <180.