THANKS JOE

I figured out the problem. In my second array generating loop, I had it
set to. for(h=0;h<1;h++) which means since 1 is not less than 1 it
never started the 3RD demension.