added flatten and has to array and object functions and bumped version number