Removed unnecessary variable ORDMAX

Lowers the number of parameters. Only was used once and added confusion.