A Knowledge Based Electronics Simulator