Nonlinear denoising score matching for enhanced learning of structured distributions