.
Are you guaranteed that is invertible? In fact, given that you're generating a whole matrix out of one column vector, I can't help but wonder if you aren't guaranteed that it doesn't have an inverse! Is there another way to do this, do you think, Prove It?