added proper feature vector creation for row, now moving on to entire image
fixed muhammads errors