creating collection of datapoints from feature matrix