FreeIMU library with minor improvements