[FIX] removed warnings and repaired +=, -= of cyclic shape iterator
[FIX] replaced ceil by more efficient integer division
[FIX] removed unused typedef
Merge pull request #323 from weese/feature/fix-warnings

[FIX] removed a couple of warnings in develop