add method to compute projected mass inside radius; pep8 fixes