Founding a working version of NCC + ASW
Convert internal arithmetic to float
Linearize internal weight calculation