Currently, only gradient constancy is supported but additional motion tensor implementation for gray value and census-based constancy are implemented. Add parameters and tests.