Design of a Portable Activity Monitoring System