WIP on multinest algorithm