pwmantel now accepts array_like as input