Gray's rare relief appearance helps Vanderbilt get past MTSU