Resizing Stuff

Made scale factor depend upon dimension which needs scaling more.