fixed minor bug in loop unrolling
aded support for Select expression and np.where
added explicit_structs to chain of calls from ravel in LowerStructs