Shape Localization and Recognition using a Magnetorheological-fluid Haptic Display