Some studies in cylindrically symmetric cosmological models and electromagnetism in general relativity