UCTRONICS MPU-9255, Can't get correct degree values.

I have attached my code that I am using with the UCTRONICS MPU-9255. All I want to do is read from the compass and get a degree heading. I am using it for a robot and I need to turn in 90 degree intervals. I have searched for hours and tried a hundred things but just can not get it to work. I've found calibration code and tried it with no luck. I've tried a view variations of code from github with no luck. I ended up putting some stuff together to get the code I've come up with.

I have also included a screenshot of the output. This is with the compass pointing at around 190 degrees (based on iphone compass)

Any help would be greatly appreciated and thanks in advance.

newcompasstesting.ino (2.52 KB)