Motherwell recorded their first home victory since the beginning of September as they defeated Ross County 3-2 at Fir Park.