Some factors in potentiostat design