updated Util.cpp to add some power of 2 methods, one to check one to round up