Honeywell's datasheet on the HMC6343 compass states that tilt compensation is made using data from a built-in three axis accelerometer. I thought that a cheaper three-axis magnetometer- accelerometer combination is much more reasonable for small scale projects, so my question is: What kind of calculations do I need to perform to get a decent degree of accuracy?