minor update

now supports varying dt/dx values