fixed cost curve source references.
revised p5 build for no repeats. fixed reference.