Using Mathematical Formulas to create datasets