Let methods taking Val accept more integer types (including numpy int) (Closes #4) Closes #4 See merge request !19