remove unused variable
remove unused variable, initialize xyz values outside the loop
big warning cleanup in preparation for 1.0.0