Changed getEncoderAverage method to support 4 encoders