Paper, pen and ink: an innovative system and software framework to assist writing rehabilitation