A computational study of self-assembled surfactant systems: applications to drug delivery