Most of the functions have been written need to test basic examples.

Most of the functions have been written, now we need to test basic
examples. Especially we need to check scaling functions and main
function for simple multiplication with an identity matrix.