Replaced indices by std::integer_sequence and reworked indices_range. Fixed a bug in curried.