An interface between Torch and Matlab