A simple module for <Torch7> and the <nn> package