changes overnight from home

Got code working for the multi-proto-net setting, and fixed a rather
inscrutable bug in the computation of self.spawn_class_cost for the
EAR_NET class.