Fix for keeping only last 30% of test data and fix for error bars.