A mechanical simulator of cardiac wall kinematics