more refactoring, innerProduct improvements for general arrays
fix general array inner product cases (for 2nd array dim <=2)
add todo warning
misc edits
use optimised multiplication fro AMatrix, check for zero dimension
optimising
fix ambiguous method override (problem with Java 6)