Added min's and maxes with metric prediction, working on prediction algorithm