changed to bitflipper2 for a rcp.idx to get index consistent with R’s vectors for 3rd column in matrix output
new function: prcnt.wthn.idx - given points and arc, gets percent within a given percentile