Added code ton control speed and acceleration on servomotors.