Fixed undefined variable warnings
Updated version number