Improved algorithm for minimizing total late work on a proportionate flow shop and extensions to job rejection and generalized due dates