Vectorial test for least_square

Just a little test to check how least_square works in vectorial case.