Format docstrings in kmeans.py
Format docstrings in monitor.py
Format docstrings in pca.py
Format docstrings in rbm_tools.py