An 'end' was missing at before the tables were constructed in the mica routine (lines 787-789). The missing 'end' was not problematic if the user answers 'y' to the prompt, "Do you want cation assignment and endmember calculations? (y|n):", but if the user answers 'n', then the table of mica APFU values was not constructed. This has been fixed.