Title: A dynamic optimization package and the application of an end-point collocation method to batch polymer reactors