Fixed up the main algo. so it's more readable and altered increased in-loop efficiency. Guess function really need some work, its a place holder atm