A Remotely Controlled On-board Measurement System for Optimization of Energy Consumption of Electrical Trains