Development of an Inertial Measurement Unit-Based Pen for Handwriting Assessment