How to Know What Mode a Piece of Music Is In