Computational Study of Some Aspects of Chemical Optimization of a Functional Magnetically Triggered Nanocontainer