Added outer product assignment