Algebraic Geometry methods for Matrix Product States