Comments + fix.

Made FMatrix public.
Added comments for most functions in it.