elemental AND general K-matrix fill

Code is operational.