Fixed variable and array storage glitch, cleaned up array printing.