adding tructate function and naive function as well as some other corrections
testing the stuff i just committed
adding travis file
adding requirements.txt