added ignore_uneven option to iterators (#560)

A proposal to fix issue #560

Needs to be added in gradient-descent algorithms and datasets class too