Adding matlab code for infromation criteria-based model-order selection.

Runs sufficiently well, not fully tested.