Some array processing tools I keep writing over and over again. DRY