Fixed bug in setting of receiver normal for sources
Fixed other missing return values