Fixing replication issue with Formula Node

- Compile the formula node to a temp DS Function, which internally call
Formula.Evaluate for actual evaluation.
- Setup a function call for this temp DS function.