Improved map re-sampling
The changes to previous version include:
- Map re-sampling: Map re-sampling slightly moves (sub-index) position of the internal map, which causes issue for translation map. This has been improved, but not completely removed.
- Symmetry detection: All polyhedral symmetries are always sought, no longer stopping if larger polyhedral symmetry is found.
- getopt_port only: Now the external getopt library is used exclusively instead of only on Windows. This is because older GCC version were mixing system and external getopt files, causing segfaults.
- M_PI: Older GCC version have cmath.h header without M_PI definition (which is not necessarily part of the header, but Unix libraries typically have it there). This has now been remedied and M_PI definition is no longer required.