Sensor3d configuration fix

corrected accelerometer and gyroscope device files, added initialization for accelerometer