Variational model for micelle structure