A modified optimization procedure for production and injection scheduling in an oil field using second derivative methods