Bugfixes in stewart gough