Current code needs to be vectorised. Easy fix.
Current code needs to be vectorised. Easy fix.