Sage: Phase Portrait for Linear and Nonlinear Systems