Health Secretary Neil Gray has apologised for using a ministerial car to travel to Hampden to watch Aberdeen play on a number of occassions.