Modified implementation of getSensorClass. Made correction in SensorManager createInstance. Some corrections in Sensors.