New as_matrix and from_matrix methods

Handy for doing linear algebra! Also, changed the PCA
to use these methods.

I tried to make them naturally support generators as well.
maybe we just drop `as_generator` and just return a generator? Users already have to understand this pattern from `menpo.io`
```python
all_images = list(menpo.io.import_images('/foo'))
```