adding square bracket operators to the float matrix