Optimisation of face detection to use parallel code. Much faster now.