algorithms: Added inner_product() function.
HVector: Fixed norm calculation.
HHeap: Fixed broken interface (API).
All `bool' type functions and methods shall return `true' on success.