added more flexibility to dependent variable input, but still need to write unit tests for them
fixed some gfortran -Wall warnings