Improve Ops.index to make nicer code
improve assign to simplify call with single index
Merge pull request #33 from yast/index_improvement

Improve Ops.index to make nicer code