<div dir="ltr">In my message yesterday, I forgot to include a function Keye(K) used by the script.  This simply computes the vector version of a block diagonal matrix with structure defined by K.<div><br></div><div><br></div></div>