Study of Motion - Accelerometers and Photogates