copy of the latest : 19/3/2013
updated on 20/3/2013. Added copy matrix kernel