Fundamental Theorem Of Matrix Product States