added directory creation. hackish
added point-state-finitediff