Monitoring and Recording Vertical and Longitudinal Displacement of Rail Track in Real Time