Linear transformation

Summary:
	Implemented linear transformation.