adds error calculation
Merge branch 'master' of https://github.com/xamino/projektseminar_matlab