MNSIM 2.0: A behavior-level modeling tool for memristor-based neuromorphic computing systems