Add spacegroup and unit cell where needed
Add support for user-specified spacegroup and unit cell