Refactored PLYLoader.java