make some smaller changes to apply_positive_intraprotein. all tests are passing