Processing parameters for the production of legume protein isolates