General resolution of correlation matrices into components and its utilization in multiple and partial regression