Base fully working

~ Fixed bug in Tarjan Alg
~ Fixed bug in pref (only regarding the improvements)
~ Improved boundcond