First pass at blowing out the KLP matrix parsing code.