implemented optional dataset parameters; integer matrices not automatically converted to double matrices before hand-off to Fortran subroutines