updated simplex to implementation