Removed redundant aspace calculuation in omega.m.
Optimized matrix generation in gennull.