Sensor fusion algorithms for use with Arduino