added a few more functions. Added functions starting with 'W' as comments, but they all use cells so they are not written yet.