Removing mahout-math SNAPSHOT dependency.
Added per-template option to ignore a certain type combinations (inspired by Vincent's code, but slightly different).