Remove constraint assertions
Changed array allocation
Cleaned up API for HBP and TRHBP
Updated example code for HBP and TRHBP