Move to multireference capabilities; fix some inflate bugs