Addded Exceptions to FloatMatrix. Updated test cases to use proper comparisons.