Fixed bug with static variable, created documentation, done small bugfixes. This is v. 0.2.