Singularities in Algebraic Geometry and Symplectic Topology