Added begining of Individual. Made other changes too: constant folding, dealt with some NaNs