cleaned up some code

cleaned up some code and updated the fibs algorithm