Matlab version with rank 1 trick to handle the -alpha*v*v' part.