A Few Results in Random Matrix Theory and Random Optimization