Whisker-based Active Tactile Perception for Contour Reconstruction