making Diag() more efficient

by using the compile-time values of the number of rows and columns
and by avoiding branching.  Now loop unrolling should take place.
checking SARAH version in configure script