Fixed bug in colsep scaling; optimizations for iPhone.