A parallel implementation of the Kalman filter with application to measurements on electrical drives