The separation of the allocations for MAXSCAT and NMAX requires that proper default values are set. FIXED
Temporary arrays in powder_write needed to be allocated (0:POW_MAXPKT) instead of (1:POW_MAXPKT)  to be in sync with qsp. FIXED