Accelerometer and Magnetometer calibration

Nothing specifically about my project, I just have not been successful in calibrating my sensors when turning them by hand 360 degrees around X,Y,Z axis. Every time I attempt to calibrate I get very different values. My setup uses BlueTooth, so it should be fairly easy to set it in a gimbal rig and smoothly control the motion about each axis to collect better samples to use in the calibration algorithm. I need the sensors to to determine rotation, and translation in all axes, so I would like them to be calibrated as accurately as possible.