added a to_mask function that interprets a map argument and turns it into a list of indices
added a to_mask function that interprets a map argument and turns it into a list of indices

noahbenson/neuropythy,noahbenson/neuropythy