Incomplete Hebbian learning GPU function