FIX: Fixed up swig input so it has automatic conversion to correct type (e.g ints cast to double properly).