Added documentation and fixed make.