Some studies in Bianchi Type II and V1h cosmological models and an inhomogeneous generalization in general relativity