more bookkeeping & improved xbrick algorithm

- moved all material module parameters to parameter module
- xbrick module updates:
- failure criterion partition subroutine only outputs elfailm status and
partition
- once reaches elfailm, integrate, then check sub elem status for fibre
failure onset; if reached, elstat=elfailf, partition remains unchanged
- once reaches elfailf, integrate and return

- removed previous constrains on fibre failure (newpartition increment
no fibre failure, no fibre failure before matrix failure onset), see how
it goes