Using low cost sensors to augment an upper limb trainer with automated movement feedback