add sptensor.norm
dynamically create module level functions like ttm