Simplified code, reduced picture size, and added lots of comments
Updated picSize