adding the machine learning frameworks in torch/lua