bugfixes in base state and whole-body-model matlab API with help