Bugfix in optimization vector initial guess initialization