Waterlinked A50 DVL heading issues

Magnetic compasses are notoriously problematic. Careful calibration is absolutely mandatory, yet still insufficient for providing heading accurate enough to use a DVL for long term position accuracy.

Just looking at your plots though it does look like there is a bias error. You could probably do better by adjusting the declination (i.e. true vs. magnetic north).