Write it as a loop
Projection matrices selection
Use cosine distance function
Implement `multiviewDist` function