Multi-relational Learning Using Weighted Tensor Decomposition with Modular Loss