magnetic compass invention