sum of squares error plust test
safe scalar inverse
add nn fitness function with test