Implement ramping in dc-motor class.

Also changed rate in servo-motor class to be more similar.