1) added composition test cases. 2) modified vector values and algebra algorithms.