switched vectors for differencing
fixed combination of jensen factors
changed default radius to 1
added unit tests