Added SpaceEfficientDenseModel and its unit test