Add definitions for weight functions
Add weight check inside transExp (Minus)
Use D1 as well to evaluate function
Check all registers for saving
Replace author name
Save registers before moving parameter into D0