bugfixes af_demag plot
Merge remote-tracking branch 'origin/master'