Fixed view matrix computation
Update input test