added compass scale factors parameter