Starting work on moving factors calcs out of security_snapshot and into factors.rb