Added doc strings and removed a function that doubled another functions functionality