Coerce input to np.ndarray
Remove print statements