Implemented dimension validator.
Updated README.