Update writeOdb to also create an element set of the part instance / assembly set

Update writeOdb to also create an element set of the part instance / assembly set. This is needed in able to use pyvXRAY to generate virtual x-rays.
Also modified HUfromCT.py so that it only loads the CT slices that are needed by the element set