Remove numpy dependency