Added in meshing controls (still needs tidying up)
Tidied up code and fixed abaqus constants