Latest code, finished calculating for 5 out of the 51 or so users the template vectors.