minor source code generation improvements: print atomic function names and reduce the size of sparsity functions