random features format
update integration arrays and code
move functions to integration module