Costly error gives UCLA win over Matadors