add error checks to fugue and groestl
add include
don't copy constant array