Adding a LENGTH method for CHEBMATRIX, and tests for size and length.

Closes #1235.