Cavs beats Bucks for much needed win