minor bug fixes
addition of quality distribution graph and ma plot