Attitude Determination of Small Spinning Spacecraft Using Three Axis Magnetometer and Solar Panels Data