Significant changes to all functions to use cached irms and eigen decompositions.