Updated functions to use 64-bit norm_total and cleaned up code
Switched apply_output_fns_init to False by default
Updated example .ty files
Cleaned up sparse cython and C files