added function to partition variance among 3 models using matrix algebra
added more analyses for spatial eigenvalue filtering of models for variance partitioning. required some loops to be run on cluster as separate scripts