A portable System for Measuring Human Body Movements