Data Mining Using Matrix Methods