corrected and testet FMA3 Code