Initial work on calculating min/max bragg angles