Update retrieve.rcm.R

Modifications to make reading subsets more flexible. Different types of indexing allowed: list(ix,iy) and is as integer.