Feedforward model based arm weight compensation with the rehabilitation robot ARMin