pulling latest changes from torch7 repo