Add get_index_pred/2
Merge branch 'master' of github.com:choptastic/sigma_erlang