completed functions, now adding rolling quarterly along with dual objective to incorporate change from previous weights as part of the objective function