A Simulation Tool for Computing Energy Optimal Motion Parameters of Industrial Robots