features using numpy