Extended neural contractive dynamical systems: On multiple tasks and Riemannian safety regions | Synapse