Rodney McGruder pitches in with 13 points in Heat victory