Indexing And Partitioning Schemes For Distributed Tensor Computing With Application To Multiple Sequence Alignment