Un-friend some functions, adapt public/protected interface
Rename function
Use namespace std
Remove debug output
Fix reduce-based routines regarding absent motifs
Make debug output conditional