A Java program for x-ray fiber diffraction pattern processing