Fixed bug in pooling.

- Also added functions to code several features at one location.
- Included a minimum log likelihood to code a feature.