Towards efficient algorithms and systems for tensor decompositions and tensor networks