makeSafe

make a safe version by bringing theta between 0 and 360