started designing linear_analysis class