Fixed bugs and added documentation. Works