Decomposing Matrices, Tensors, And Images