added SpeedControl Example

added SpeedControl example as additional sketch. Bugfixes of speed
calculation and BEMF voltage measurement.