Linear Transformation of a Vector - Coding problem | OneNoughtOne