Work on Makefile for sample job
Factor out fn for computing coefficients
Add simple 2 condition sample job