rewrote kernel tensors routine.  Energy behavior still bad unless mu is small