adapted simplex output
little bug in plotting