matrix type computation of ff

more features also added