made the getInterval method sensible (doesn't return enharmonically equivalent names)