Some fixes to isolation memories to make simulation work. This resolves #19.