Theoretical studies on protein interior and interfaces using the structural and geometric self similarity