Modules

N dimensional version of functions