added a tested mathmo graph data generation