Merge pull request #217 from josemduarte/master

Implementation of interface clustering