Hearts came from behind to beat Motherwell 3-1 on Saturday, maintaining their three-point lead at the top of the Scottish Premiership.