Fix matrix loading, recording + rename record to matrix