Passivity Analysis and Design of a Haptic Interface