use extra local variable
add new interface for square over Fp4
update main routines and test code
add comments