A 3 DOF pneumatic manipulandum for wrist rehabilitation