Make fdiff convert inputs to numpy arrays