added raw functions, passthrough and fixed magentometer
added raw functions, passthrough and fixed magentometer