CLSN-209 Billing : Convert Formula and Matrix js into model.js, also implement 'cs-field' into it's HTML.