Stochastic Orthogonalization and Its Application to Machine Learning