Fixed unit-tests for dbscan that have been broken after the refactoring; Added comments for the module 'rock'