Midstream checkin through rewriting the vectorizer. Modified and
simplified VectRes type as well as the calculation of utilities.