Spaghetti (sparse linear) module for torch7