Removed the customized version of getIndicesExt (see gh-195)
Eliminate the redundant get_indices function (closes: gh-195)
Formatting