Fixed several errors in sequential optimisation; redefined HPP CS