Text this: Construction of a Sparse Covariance Matrix Based on Statistical Data Analysis and Its Use in Choosing an Optimal Portfolio of Securities