Fix some compilation error while debugging with Eclipse
Fix bug where weights is not assigned for custom constructor
Comment out the logging of the algorithm
Update docs