Apply.function function

Apply Functions Over Array Margins, using custom vectorization (possibly using parallel)