Nuclear and neutron matter calculations with different model spaces