solved bug in handling solution vector + better debug output #5