Build Suc·ceed

Fixed pass by reference and other pointer issues. Confirmed that
CalculateSolidAngle() works.