Ensemble update handles case w/ no decoded_input

- if X hasattr('type') then there was decoded_input
  otherwise don't bother recalculating J
- fixes case where no decoded_input is given
Merge branch 'master' of https://github.com/ctn-waterloo/nef-py