Towards a generic scientific expert system for use with an object-oriented numeric library