Refined compass

Compass code changed to handle the input.
Needed x10 so I removed the decimal.