Added vector energy and tests to mocasinns library.
Included the array energy type.