Singularity Methods in Mathematical Physics