Bug in nn_chunk implementation fixed

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Bug in nn_chunk fixed

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Fix issue #69

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>