Shorter calculation method

Chopped it up
Added refs

Mentioned a couple of software quality studies