*fixed bug in accuracy.simple introduced last time
*added vector length checks to calcArea function