Wrap around array map and turns any function into a mapping