A movement monitoring system for patients of neurodegenerative diseases