Added structs padding to match C definitions

(currently only strictly needed for BasisFactParam)