Generation of finite difference formulas on arbitrarily spaced grids | Synapse