Adds an efficent CPU outer product function