Limits yaw to values > 0 and < 360. Fixes #173

Fixes #173 by limiting yaw values.